
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * user:likai
 * Date:2022-09-19
 * Time:21:26
 */
//class Data {
//    private int x;
//    private int y;
//
//    public Data(int x, int y) {
//        this.x = x;
//        this.y = y;
//    }
//    public int getX() {
//        return x;
//    }
//    public int getY() {
//        return y;
//    }
//}
//public class Test {
//
//        public static void main(String[] args) {
//            Scanner scanner = new Scanner(System.in);
//            while (scanner.hasNextInt()) {
//                int x = scanner.nextInt();
//                int y = scanner.nextInt();
//                Data data = new Data(x, y);
//                System.out.println(data.getX() + data.getY());
//            }
//        }
//}
public class Test {

    public int aMethod(){
        //static int i = 0;不能修饰局部变量（在方法内），在方法外就是成员变量
        int i = 0;

        i++;
        return i;
    }
    public static void main1(String args[]) {
        Test test = new Test();
        test.aMethod();
        System.out.println(test.aMethod());
//        int j = test.aMethod();
//        System.out.println(j);
    }
    static boolean Paddy;

    public static void main(String args[]){
            System.out.println(Paddy);
    }
}